<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>消息接收人</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	
  </head>
  
  <body>
    <div>
    <h3>该消息接收人如下：</h3>
    <center>
    	<textarea style="white-space: nowrap;" rows="15" cols="35">
    		<c:forEach items="${messagetouserList}" var="mtol" varStatus="state">
    			<c:if test="${amessage.messageid==mtol.message.messageid}">${mtol.userinfo.username}</c:if>		
    		</c:forEach>
    	</textarea>
    	<br/>
    	<input type="button" value="关闭" onclick="window.close()" />
    </center>
    </div>
  </body>
</html>
